/**
 * 
 * Interface Enter
 * 
 * 这里放api接口
 * 
 */
// const enter = 'http://192.168.0.200/';
// const enter = 'http://192.168.0.110/';
const enter = 'http://192.168.0.106/';
// const enter = 'https://yuntt.weijuyunke.com/'
// const enter = window.location.origin+'/';

const api = {
	
	//登录
	staffLogin: 'business/mobile/staffLogin',
	//个人信息
	selectId: 'business/mobile/selectId',
	//修改商家密码
	ydResetPasswords: 'business/MerchantManagement/ydResetPasswords',
	//阿里云设置
	userOssList: 'business/mobile/userOssList',
	//发布活动
	releaseIssue: 'business/mobile/issue',
	
	//活动列表（抖音，视频号）
	getActivity: 'business/mobile/getActivity',
	//活动列表 快手
	getMoveActivity: 'business/mobile/getMoveActivity',
	
	//删除活动
	delete: 'business/mobile/delete',
	//活动详情
	selectGetId: 'business/mobile/selectGetId',
	//seo文案
	seoPage: 'business/mobile/pageList',
	//视频素材
	projectPage: 'business/finishProductFolder/selectPage',  
	//查询抖音poi
	getPoi: 'business/mobile/poi',
	//查询设备
	equipmentPage: 'business/mobile/equipmentPage',
	//使用记录
	selectPageRechargeRecordId: 'business/mobile/selectPageRechargeRecordId',
	//中奖记录
	getWinningRecord: 'business/mobile/getWinningRecord',
	//视频号活码
	sphQrCode: 'business/mobile/sphQrCode',
	// 视频状态
	sphQrStatus: 'business/mobile/sphQrStatus',
	// 视频号发布
	sphQrIssue: 'business/mobile/sphQrIssue',
	//验证活动核销
	verificationCode: 'business/mobile/verificationCode',
	//核销
	saveVerificationCode: 'business/mobile/saveVerificationCode',
	//用户数据
	detailsExplosiveStoreCodes: 'business/MerchantManagement/detailsExplosiveStoreCodes',
	//首页数据
	mobilePageConfiguration: 'business/mobilePageConfiguration/page',
	//首页详情
	mCount: 'business/mobilePageConfiguration/mCount',
	//首页详情
	indexDetail: 'business/mobilePageConfiguration/pageId',
	//帮助中心
	helpList: 'business/shelp/pageList',
	//帮助中心详情
	helpDetail: 'business/shelp/pageId',
	//数据中心头部数据
	videoData: 'business/mobilePageConfiguration/videoData',
	//更新日志
	logList: 'business/wjykbisinesslogmanagement/page',
	//获取OEM logo
	getSelectDomainName: 'business/systemConfiguration/getSelectDomainName',
	
	
	
	// ================抖支付
	// 是否启动保存配置
	payTypeInsertSelective: 'business/paytype/insertSelective',
	// 是否启动查询配置
	payTypeSelectByPrimaryKey:'business/paytype/selectByPrimaryMerchantId',
	// 支付查询
	selectByPrimaryMerchantId:'business/merchantpayparameter/selectByPrimaryMerchantId',
	// 支付配置页新增接口
	insertSelective:'business/merchantpayparameter/insertSelective',
	//支付配置页修改接口
	updateByPrimaryKey:'business/merchantpayparameter/updateByPrimaryKey',
	// 云创作成片库 文件夹1
	cloudCreationFile:'business/finishProductFolder/page', 
	// 云创作成片库 seo 
	 cloudCreationSeo:'business/matrix/seo/page',
	// 搜索
	dyPoi:'business/matrix/dypublish/yidongPoi',
	// 查询商家配置
	getMerchantinfo:'business/merchantinfo/getMerchantinfo',
	// 这个是商家更新接口
	updateMerchantinfo:'business/merchantinfo/updateMerchantinfo',
	// 是商家添加接口
	addMerchantinfo:'business/merchantinfo/addMerchantinfo',
	
	// 商家阿里云上传
	alyOssSignature:'business/aliyunoss/mainOssSignature',
	// 活动配置详情
	getActivityconfigList:'business/activityconfig/getActivityconfigList',
	// 获取头部字段
	headStatistics:'business/activitylist/headStatistics',
	// 活动列表查询
	getActivitylist:'business/activitylist/getActivitylist',
	// 活动配置修改
	updateActivityconfig:'business/activityconfig/updateActivityconfig',
	// 活动配置增加
	 addActivityconfig:'business/activityconfig/addActivityconfig',
	 // 活动二维码
	generateDoupayQrCode:'business/activitylist/generateDoupayQrCode',
	// ================抖支付
	
}

for (let key in api) {
	api[key] = `${enter}${api[key]}`;
}

module.exports = api;